import Layout from '@/layout'

const blockRouter = {
  path: '/block',
  component: Layout,
  redirect: '/block/trend',
  name: 'Block',
  meta: {
    title: '区块链',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'trend',
      component: () => import('@/views/block/trend/index'),
      name: 'Trend',
      meta: {title: '币价格趋势'}
    },
    {
      path: 'increment',
      component: () => import('@/views/block/increment/index'),
      name: 'Increment',
      meta: {title: '币价增值明细'}
    },
    {
      path: 'balance',
      component: () => import('@/views/block/balance/index'),
      name: 'Balance',
      meta: {title: '会员持有币'}
    },
    {
      path: 'transaction',
      component: () => import('@/views/block/transaction/index'),
      name: 'Transaction',
      meta: {title: '持币变动明细'}
    }
  ]
}

export default blockRouter
